<?php
/**
 * Created by Veyron
 * User: Vy
 * motto:现在的拼搏 为了更好的明天
 * day:  2020/1/14
 * Time: 15:44
 */
namespace app\admin\controller;
use app\BaseController;
use app\common\model\mysql\AdminUser;
use think\facade\Db;

class Logout extends AdminBase {
    /**
     * 登录页面
     */
    public function index(){
        session(config('admin.session_admin'),null);

//        return show(config('status.success'),'退出登录成功');
        return redirect(url('login/index'));
    }

}
